package com.leyou.item.service;

import com.leyou.common.vo.PageResult;
import com.leyou.item.dto.BrandDTO;

import java.util.List;

public interface IBrandService {
    PageResult<BrandDTO> queryBrandByPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void insertBrand(BrandDTO brandDTO, List<Long> cids);

    BrandDTO queryById(Long brandId);

    List<BrandDTO> queryBrandByCategoryId(Long cid);

    List<BrandDTO> queryBrandByIds(List<Long> ids);
}
